﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/design.Master" CodeBehind="addacake2.aspx.vb" Inherits="CakeThatIBaked.addacake2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="theheader">
Add a Cake (that you baked) 
</div>
<div class="thecontainer">
<div class="thecontainerleft">
The Cake Tags
<br />
Click any of these that are relevent to your cake
<br />
    <asp:CheckBoxList ID="cbl_tags" runat="server" DataSourceID="SqlDataSource1" 
        DataTextField="TagName" DataValueField="ID" RepeatDirection="Horizontal" 
        RepeatLayout="Flow">
    </asp:CheckBoxList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CakeConnection %>" 
        ProviderName="<%$ ConnectionStrings:CakeConnection.ProviderName %>" 
        SelectCommand="SELECT DISTINCT [TagName], [ID] FROM [CakeTags]">
    </asp:SqlDataSource>
<br />
Type in your own tags (divide them with a , (comma) for example yum,yummy)
<br />
<asp:TextBox ID="tb_tags" runat="server" Height="28px" Width="457px"></asp:TextBox>
<br />
How did you bake the cake
<br />
Click on any that you used to bake your cake
<br />

    <asp:CheckBoxList ID="cbl_rec" runat="server" 
        DataSourceID="SqlDataSource2" DataTextField="RecipeItem" DataValueField="ID" 
        RepeatDirection="Horizontal" RepeatLayout="Flow">
    </asp:CheckBoxList>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CakeConnection %>" 
        ProviderName="<%$ ConnectionStrings:CakeConnection.ProviderName %>" 
        SelectCommand="SELECT DISTINCT [ID], [RecipeItem] FROM [RecipeTags]">
    </asp:SqlDataSource>

<br />       
Type in your own tags (divide them with a , (comma) for example milk,eggs)
<br />
<asp:TextBox ID="tb_rtags" runat="server" Height="28px" Width="457px"></asp:TextBox>
<br />
<asp:Button ID="btn_tag" runat="server" Text="Tag the cake that I baked" />
<br />
</div>
<div class="thecontainerright">
<p class="miniheading">Step 2 of 2</p>
<br />
Adding relevent tags is easy and means that your cakes are more likly to been seen. You can select excisting tags ,add your own or a mixture of the two! Remember Silver Members and up can Tag your cake!
    <br />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<br />       
</div>
</div>
</asp:Content>
